Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFLSRPacketImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSRPacketImpl
- All Implemented Interfaces:
IPCData,OSPFLSRPacket,OSPFPacket,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
areaId, authenticationType, checkSum, length, routerId, sequence, typeCode, versionFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getLsrs()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFPacketImpl
getAreaId, getAuthenticationType, getCheckSum, getLength, getRouterId, getSequence, getTypeCode, getVersion, setAreaId, setAuthenticationType, setCheckSum, setLength, setRouterId, setSequence, setTypeCode, setVersionMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.OSPFPacket
getAreaId, getAuthenticationType, getCheckSum, getLength, getRouterId, getSequence, getTypeCode, getVersion, setAreaId, setAuthenticationType, setCheckSum, setLength, setRouterId, setSequence, setTypeCode, setVersionMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
lsrs
-
-
Constructor Details
-
OSPFLSRPacketImpl
public OSPFLSRPacketImpl()
-
-
Method Details
-
getLsrs
- Specified by:
getLsrsin interfaceOSPFLSRPacket- Returns:
- List<OSPFLSR> Returns a List<OSPFLSR>
-
setLsrs
- Specified by:
setLsrsin interfaceOSPFLSRPacket- Parameters:
lsrs- Takes in a parameter of lsrs
-
getFieldType
- Overrides:
getFieldTypein classOSPFPacketImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFPacketImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFPacketImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFPacketImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFPacketImpl
-